table,td{
    border-collapse: collapse;
}
td{padding:20px 40px;}

table tr:nth-child(odd){
    background-color: pink;
}
table tr:nth-child(even){
    background-color: gray;
}